<?php
/*
	插件初始化
*/
namespace jy_weishopscale;
defined('BY_JYA') or exit('error');
function init($plugin){
	$plugin->setting=$plugin->plugin_setting('basic');
	$plugin->plugins=array();
	$plugin->send_types=array(
		'1'=>'配送上门',
		'2'=>'自提/店内',
	);
	$plugin->set_peisongusers=array(
		'0'=>'系统指派',
		'1'=>'店员指派',
		'2'=>'配送员抢单',
	);
	$plugin->set_peisongsystype=array(
		'0'=>'随机指派当前门店配送员',
		'1'=>'按派好评度指派',
	);
	$plugin->order_status=array(
		'0'=>'已下单',
		'1'=>'已接单',
		'2'=>'待收货',
		'3'=>'已完成',
		'4'=>'已关闭',
		'5'=>'申请维权',
		'6'=>'已维权'
	);
}